﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/List.Master" AutoEventWireup="true" CodeBehind="XMTZ2.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Reports.XMTZ2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../../Scripts/jquery-1.6.min.js"></script>
<script language="javascript" type="text/javascript" src="../../Scripts/jquery.easyui.min.js"></script>
<link href="../../Styles/easyui.css" rel="stylesheet" type="text/css" />
<link href="../../Styles/icon.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
    $(function () {
        $('#projectCategory').combotree({
            url: "JSON/GetProjectCategory.ashx?randId=" + escape(new Date())
        });
        $('#project').combotree({
            url: "JSON/GetProject.ashx?randId=" + escape(new Date())
        });
        query();
    });
    function query() {
        var val1 = $('#projectCategory').combotree('getValues');
        var val2 = $('#project').combotree('getValues');
        var val3 = document.getElementById("<%=dtpRptDate.ClientID %>").value;
        if (val3 == "") {
            alert("请指定统计日期！");
            return;
        }
        ifrmInfo.location.href = '<%=System.Configuration.ConfigurationManager.AppSettings["ReportServerURL"] %>/R005_V2&categoryString=' + val1 + '&snString=' + val2 + '&date=' + val3 + '&rc:parameters=false';
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div region="north" split="true" border="false" style="padding:0px;overflow:hidden;height:30px;font-size:12px">
    <asp:panel id="panel" runat="server">
项目单位：
<select class="easyui-combotree" id="projectCategory" name="projectCategory"  multiple="true" cascadeCheck="false" style="width:180px;"></select>
项目：
<select class="easyui-combotree" id="project" name="project"  multiple="true"  cascadeCheck="false" style="width:220px;"></select>
&nbsp;&nbsp;
统计日期：<asp:TextBox ID="dtpRptDate" runat="server" cssClass="input2" onfocus="setday(this);" Width="100px"></asp:TextBox>
<asp:Button runat="server" ID="btnQuery" Text="查 询" class="btn_normal" OnClientClick="query();return false;"
                onmouseover="this.className='btn_active'" 
                onmouseout="this.className='btn_normal'" />
  </asp:panel>
    
        </div>
	    <div region="center" border="false">
            <iframe id="ifrmInfo" scrolling="yes" frameborder="0"  src="" style="width:100%;height:500px;"></iframe> 
	    </div>
</asp:Content>
